net: phy: Fix return value check phy_probe
authorSiva Durga Prasad Paladugu <[email protected]>
Mon, 4 Mar 2019 15:02:11 +0000 (16:02 +0100)
committerJoe Hershberger <[email protected]>
Wed, 8 May 2019 22:27:00 +0000 (17:27 -0500)
commit05eb6a698acbd6465c032d39ea77b79f831f05af
treefee018e80c576d09c3ab300496d7e60b4da085ba
parentc689c4867286888099c21e02d2494f047060d06f
net: phy: Fix return value check phy_probe

Don't ignore return value of phy_probe() call as
the probe may fail and it needs to be reported.

Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/phy/phy.c